from fastapi.responses import JSONResponse

def create_json_response(content: dict) -> JSONResponse:
    """创建带有UTF-8编码头的JSON响应"""
    return JSONResponse(
        content=content,
        headers={"Content-Type": "application/json; charset=utf-8"}
    )